package com.example.recordingpen_datacollection.Utils.AIUtil;

/**
 * AI转换工具类
 */
public class AIChangeUtil {
    public  String replaceStr(String str){
        String RepStr = str.replace("$", "");
        RepStr = RepStr.replace("*","");
        RepStr = RepStr.replace("\\times", "*");

        return RepStr;
    }

    public static boolean judgeUtil(String content){
        return (
                    content.contains("星期") ||
                    content.contains("天气") ||
                    content.contains("周几") ||
                    content.contains("几号") ||
                    content.contains("+") ||
                    content.contains("-") ||
                    content.contains("*") ||
                    content.contains("/")
                );

    }
}
